<?php
/*
trait定义trait
php5.4+

 
*/
trait mmnn{

    public function printOK(){
        print("ok\n");
    }
    public $aa;
    public $bb; 
}



